/*
 * Created on 2005-7-6
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.sohu.sip.auth.business.event;

import com.sohu.sip.auth.middletier.BusinessEvent;

/**
 * @author luciali
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class ItemUpdateEvent implements BusinessEvent {
	private Long id;

	private String actionPattern;

	private String paramName;

	private String paramValue;

	private int priority;

	private String desc;

	/**
	 * @return Returns the desc.
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc
	 *            The desc to set.
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}

	/**
	 * @return Returns the actionPattern.
	 */
	public String getActionPattern() {
		return actionPattern;
	}

	/**
	 * @param actionPattern
	 *            The actionPattern to set.
	 */
	public void setActionPattern(String actionPattern) {
		this.actionPattern = actionPattern;
	}

	/**
	 * @return Returns the paramName.
	 */
	public String getParamName() {
		return paramName;
	}

	/**
	 * @param paramName
	 *            The paramName to set.
	 */
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	/**
	 * @return Returns the paramValue.
	 */
	public String getParamValue() {
		return paramValue;
	}

	/**
	 * @param paramValue
	 *            The paramValue to set.
	 */
	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	/**
	 * @return Returns the priority.
	 */
	public int getPriority() {
		return priority;
	}

	/**
	 * @param priority
	 *            The priority to set.
	 */
	public void setPriority(int priority) {
		this.priority = priority;
	}

	public String toString() {
		String eventString = "";
		return eventString;
	}

	public void parse(String str) {

	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param id
	 * @param actionPattern
	 * @param paramName
	 * @param paramValue
	 * @param priority
	 * @param desc
	 */
	public ItemUpdateEvent(Long id, String actionPattern, String paramName,
			String paramValue, int priority, String desc) {
		super();
		this.id = id;
		this.actionPattern = actionPattern;
		this.paramName = paramName;
		this.paramValue = paramValue;
		this.priority = priority;
		this.desc = desc;
	}
}